package com.yumeko.service.impl;

import com.yumeko.entity.TStorage;
import com.yumeko.dao.TStorageDao;
import com.yumeko.service.TStorageService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * (TStorage)表服务实现类
 *
 * @author Zheng Hao
 * @since 2020-03-20 20:38:58
 */
@Service("tStorageService")
public class TStorageServiceImpl implements TStorageService {
    @Resource
    private TStorageDao tStorageDao;

    @Override
    public void decrease(Long productId, Integer count) {
        tStorageDao.decrease(productId, count);
    }
}